<div>
    <div class="modal-body" th:object="${consumable}">
        <input type="hidden" name="consumableId" th:value="*{consumableId}">
        <div class="form-group row">
            <label for="consumableName" class="col-form-label col-sm-4">耗材名称:</label>
            <input type="text" class="form-control-plaintext col-sm-8" id="consumableName" name="consumableName" th:value="*{consumableName}" readonly>
        </div>
        <div class="form-group row">
            <label for="consumableSpecifications" class="col-form-label col-sm-4">耗材规格:</label>
            <input type="text" class="form-control-plaintext col-sm-8" id="consumableSpecifications" name="consumableSpecifications" th:value="*{consumableSpecifications}" readonly>
        </div>
        <div class="form-group row">
            <label for="consumablePrice" class="col-form-label col-sm-4">耗材价格:</label>
            <input type="text" class="form-control-plaintext col-sm-8" id="consumablePrice" name="consumablePrice"  maxlength="20" th:value="*{consumablePrice}" readonly>
        </div>
        <div class="form-group">
            <label for="consumableCount" class="col-form-label">耗材数量</label>
            <input type="number" class="form-control" id="consumableCount" name="consumableCount"  maxlength="30" placeholder="请输入耗材出库数量" required>
        </div>
        <div class="form-group">
            <label for="teacherNumber" class="col-form-label">领取人</label>
            <input type="text" class="form-control" id="teacherNumber" name="teacherNumber"  maxlength="50" placeholder="请输入教师工号" required>
        </div>
    </div>
    <div class="modal-footer">
        <input class="btn btn-primary"type="submit" value="提交">
        <button type="button" class="btn btn-secondary" data-dismiss="modal" id="consumableDialogClose">Close</button>
    </div>
</div>